<script lang="ts" setup>
import { useStore } from '@/store';

const store = useStore();

const onChange = () => {
  store.count++;
};
</script>

<template>
  <div>
    <p>hello world</p>
    <button @click="onChange">count：{{ store.count }}</button>
  </div>
</template>

<style lang="scss" scoped></style>
